<?php
echo time();

echo PHP_EOL;

echo (date("Y-m-d",strtotime("last Monday")));
$time = strtotime("last Monday");
echo $time;

echo PHP_EOL;

$time2 = strtotime("2021-9-1 00:00:00");
echo $time2;